Make bytecomp.el understand that defmethod defines functions.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 7 May 2011 04:03:49 +0000 (01:03 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 7 May 2011 04:03:49 +0000 (01:03 -0300)
commitf918ea357482e694d5573cf1bc14204475877fc6
treee80e8f988c35090ec69d0c7b374de91317a0e35b
parent57af3012a326077a7c7d1f7ec26ac1cae6cc5888
Make bytecomp.el understand that defmethod defines functions.
* lisp/emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
New functions.
(defgeneric, eieio--defmethod): Use them.
(eieio-defgeneric): Remove.
(defmethod): Call defgeneric in a way visible to the byte-compiler.
lisp/ChangeLog
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/eieio.el